package dao.person;

import domain.Person;

import java.util.List;

public interface PersonDao {
    /**
     * 新增报名信息
     * @param name,sex,age,BM,phone,idcard,filename,isTeam
     * @return int
     * @author 夏添
     * @date 2020/7/23 9:25
     */
    public int CreatPerson(String name, String sex, int age, String BM, String phone, String idcard, String filename, int isTeam) throws Exception;


    /**
     * 统计项目人员
     * @param
     * @return int
     * @author 夏添
     * @date 2020/7/23 9:25
     */
    public int countEvent(String pro) throws Exception;


    /**
     * 获取明细列表
     * @param pro
     * @return List<User>
     * @author 夏添
     * @date 2020/9/23 16:03
     */
    public List<Person> getPersonList(String pro) throws Exception;
}